public class Vampire extends Enemy {
	// private int blood;// 吸血系数
 
	public Vampire(int t) {
		switch (t) {
		case 1:
			this.setType("「天理」");
			this.setLife(8000);
			this.setAttack(800);
			this.setDefend(80);
			this.setMiss(50);
			this.setBlood(100);
			break;
		case 2:
			this.setType("蕈兽群");
			this.setLife(5000);
			this.setAttack(8);
			this.setDefend(4);
			this.setMiss(30);
			this.setBlood(100);
			break;
		case 3:
			this.setType("黄金吸血鬼");
			this.setLife(90);
			this.setAttack(10);
			this.setDefend(6);
			this.setMiss(60);
			this.setBlood(100);
			break;
		case 4:
			this.setType("铂金吸血鬼");
			this.setLife(100);
			this.setAttack(15);
			this.setDefend(10);
			this.setMiss(70);
			this.setBlood(100);
			break;
		default:
			System.out.println("输入错误");
			break;
		}
		this.setLive(true);
		this.setMaxLife(this.getLife());
		// maxLife=life;
	}
 
	// public int getBlood() {
	// 	return blood;
	// }
 
	// public void setBlood(int blood) {
	// 	this.blood = blood;
	// }
 
	// // 吸血
	// public void getBlood(int loseLife) {
	// 	System.out.println("[+]" + this.getType() + ":吸血成功！");
	// 	// 吸玩家失去的生命力*blood/100;
	// 	int getBlood = loseLife * blood / 100;
	// 	this.setLife(this.getLife() + getBlood);
	// 	// life+=getBlood;
	// 	if (this.getLife() >= this.getMaxLife()) {
	// 		this.setLife(this.getMaxLife());
	// 		// life=maxLife;
	// 	}
	// }
 
}